#ifndef ROV_SERVER_H
#define ROV_SERVER_H


#include <netinet/in.h>


template<typename T>
int startServer(int port, volatile int * fd, volatile struct sockaddr_in * client,
                int (*callback)(volatile int * fd, volatile struct sockaddr_in * client, socklen_t len, T arg), T arg);


#include "../../common/server.tpp"


#endif
